package com.wy.bezierdragdemo;

import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

/**
 * 笔记简书地址
 * https://www.jianshu.com/p/1dc068b65819
 */
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        MessageBubbleView.attach(findViewById(R.id.text_view), new MessageBubbleView.BubbleDisappearListener() {
            @Override
            public void dismiss(View view) {

            }
        });

        MessageBubbleView.attach(findViewById(R.id.button), new MessageBubbleView.BubbleDisappearListener() {
            @Override
            public void dismiss(View view) {

            }
        });

        MessageBubbleView.attach(findViewById(R.id.image_view), new MessageBubbleView.BubbleDisappearListener() {
            @Override
            public void dismiss(View view) {

            }
        });

    }
}

